import GoodsIndex from "../../pages/goods";
import AddGood from "../../pages/goods/add";
import GoodDetail from "../../pages/goods/detail";
import GoodsContainer from "../../pages/goods/container";
import Qualifications from "../../pages/goods/qualifications";
import GoodType from "../../pages/goods/type";


//商品管理路由
const goods={
    path:"goods",
    element:<GoodsContainer></GoodsContainer>,
    children:[
        {
            path:"",
            meta:{
             title:""
            },
            element:<GoodsIndex></GoodsIndex>
        },
        {
            path:"add",
            element:<AddGood></AddGood>
        },
        {
            path:"detail/:id",
            element:<GoodDetail></GoodDetail>
        },
        {
            path:"Qualifications/:id",
            element:<Qualifications></Qualifications>
        },
        {
            path:"type",
            element:<GoodType></GoodType>
        }
    ]

}

export default goods